<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <title></title>
  </head>
  <style>
    body {
      margin: 0px;
      background: #eceff1;
      -webkit-backface-visibility: hidden;
    }

    .blob {
      position: fixed;
      background: #42a5f5;
      background-size: 1000% 1000%;
      top: 50%;
      width: 100px;
      height: 100px;
      line-height: 100px;
      text-align: center;
      color: white;
      font-size: 40px;
      border-radius: 100%;
      margin-top: -50px;
      margin-left: -50px;
    }

    .blobs {
      filter: url("#goo");
      position: fixed;
      left: calc(50vw - 250px);
      top: calc(50vh - 250px);
      width: 500px;
      height: 500px;
      background: transparent;
      border: 3px solid;
      border-color: transparent;
    }

    .one {
      left: 50%;
      filter: blur(15px);
    }
    .four {
      filter: blur(20px);
      position: fixed;
      background: rgba(77, 208, 225, 0.7) !important;
      left: calc(var(--mouse-x) * 0.27px);
      top: calc(var(--mouse-y) * 0.27px);
      margin-left: calc(50vw - 120px);
      margin-top: calc(50vh - 120px);
      opacity: 0;
      transition: opacity 0.3s ease;
      z-index: 5;
    }

    .vsfr {
      opacity: 1 !important;
    }
  </style>
  <body>
    <div class="blobs">
      <div class="blob four move"></div>
      <div class="norm blob one"></div>
    </div>

    <svg xmlns="http://www.w3.org/2000/svg" version="1.1">
      <defs>
        <filter id="goo">
          <feGaussianBlur in="SourceGraphic" stdDeviation="10" result="blur" />
          <feColorMatrix
            in="blur"
            mode="matrix"
            values="1 0 0 0 0  0 1 0 0 0  0 0 1 0 0  0 0 0 18 -7"
            result="goo"
          />
          <feBlend in="SourceGraphic" in2="goo" />
        </filter>
      </defs>
    </svg>
  </body>
  <script src="../jquery相关/js/jq.js"></script>
  <script>
    var docStyle = document.documentElement.style;

    $(".blobs").mousemove(function (e) {
      var offset = $(this).offset();
      docStyle.setProperty("--mouse-x", e.pageX - offset.left);
      docStyle.setProperty("--mouse-y", e.pageY - offset.top);
    });

    $(".blobs").mouseleave(function () {
      $(".four").removeClass("vsfr");
    });

    $(".blobs").mouseenter(function () {
      $(".four").addClass("vsfr");
    });
  </script>
</html>
